package com.zmm.member.model;

import lombok.Data;

/**
 * 认证token
 * @author 900045
 * @description:
 * @name AuthToken
 * @date By 2021-08-06 16:24:17
 */
@Data
public class AuthToken {

	/**
	 * 	 `token_id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键',
	 *   `customer_id` int(11) DEFAULT NULL COMMENT '用户ID',
	 *   `login_ip` varchar(18) DEFAULT NULL COMMENT '登录Ip',
	 *   `access_token` varchar(36) DEFAULT NULL,
	 *   `refresh_token` varchar(36) DEFAULT NULL COMMENT '刷新token',
	 *   `status` tinyint(1) DEFAULT '1' COMMENT '状态 0:删除 1:正常',
	 */
	
	private Integer tokenId;
	
	private Integer customerId;
	
	
	private String loginIp;
	
	private Integer admin;
	
	private String accessToken;
	
	private String refreshToken;
	
	private Long createTime;
	
	private Long updateTime;

	/**
	 * 状态 0:删除 1:正常 默认为 1
	 */
	private Integer status;
}
